package com.ss.android.account.model;

import com.google.gson.annotations.SerializedName;

public class AccountResponseModel<T> {
    @SerializedName("data")
    private T data;
    @SerializedName("message")
    private String status;

    public AccountResponseModel() {

    }

    public T getData() {
        return this.data;
    }

    public String getStatus() {
        return this.status;
    }

    public boolean isApiSuccess() {
        return this.status != null && this.status.equals("success");
    }

    public void setData(T arg1) {
        this.data = arg1;
    }

    public void setStatus(String arg1) {
        this.status = arg1;
    }
}

